import {
  SystemZeroCodeIsFreeze,
  SystemZeroCodeQuery,
  SystemZeroCodeDelete,
} from "@/services/api";
import { request, METHOD } from "@/utils/request";

/**
 * 列表
 */
export function query(param) {
  return request(SystemZeroCodeQuery, METHOD.POST, param);
}

/**
 * 删除
 */
export async function del(param) {
  return request(SystemZeroCodeDelete, METHOD.POST, param);
}
/**
 *
 */
export function isFreeze(param) {
  return request(SystemZeroCodeIsFreeze, METHOD.POST, param);
}
export default {
  query,
  del,
  isFreeze,
};
